<!-- js validate form  -->
<script type="text/javascript">
$(document).ready(function() {
	 $("#target_2").focus(function() {
		 var target_1 = $("#target_1").val();
		 $(this).val(target_1); 
	 });
});

$(document).ready(function() {
	$("#add").validate();		
});
$.metadata.setType("attr", "validate");
</script>

<div class="content_head">
	<?php echo $title; ?>
</div>

<form id="add" method="POST" action="<?php echo base_url()?>back_end/unit/add">
<div class="content_ct">
   <div class="content_ct_show">
		<table class="content_ct_show_add_tbl" width="100%">
			<tr>
				<td width="15%" style="text-align:right;">
					<span>Tên đơn vị tính: </span>
				</td>
				<td width="85%">
					<input  name="name" class="input_txt_table required" type="text" />
				</td>
			</tr>
			<tr>
				<td id="lk_tag" style="text-align:right;">
					<span>Trạng thái: </span>
				</td>
				<td>
					<input type="checkbox" value="1" name="status" />
				</td>
			</tr>
			<tr>
				<td style="text-align:right;">&nbsp;</td>
				<td>
					<input type="submit" name="addform" style="cursor: pointer;" value="Thêm" />
					<input type="reset" style="cursor: pointer;" value="Reset" type="checkbox" />
				</td>
			</tr>
		</table>
	</div>
</div>
</form>